CONTENTS | INDEX | PREV | NEXT
 asin
 fasin 

 NAME
  asin    - return arc sine of a double quantity
  fasin   - return arc sine of a float quantity

 SYNOPSIS
  #include <math.h>

  double a = asin(b);
  double b;

  float  c = fasin(d);
  float  d;

 FUNCTION
  Returns the arc sine of a floating point quantity

 EXAMPLE
  /*
   *  compile with the math library -lm
   */

  #include <math.h>
  #include <stdio.h>

  main()
  {
      {
      double a = asin(0.25);
      printf("asin 0.25 = %lfn", a);     /*  0.2527  */
      }
      {                       /*  less accuracy   */
      float a = fasin(0.25);
      printf("asin 0.25 = %lfn", (double)a);
      }
      return(0);
  }


 INPUTS
  double b;   double floating point value
  float  d;   float  floating point value

 RESULTS
  double a;   result double floating point value
  float  c;   result float  floating point value